package cn.dakaqi.entities;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Cacheable;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * @author beliveli on 2016/5/29/0029
 */
@EqualsAndHashCode(callSuper = false)
@Cacheable
@Entity
@Table(name = "U_USER_OPENID")
@Data
@ToString
public class UserOpenId extends IdEntity {
    private String memberCode;
    private int type;
    private String openId;
    private Timestamp createTime;
    private int effectiveTime; //ss
}
